Skip to content

Conversation

sandersn
Copy link
Member

@sandersn sandersn commented Feb 6, 2020

JSDoc template generation now supports property declarations with function initialisers.

Fixes #28786

@sandersn
Copy link
Member Author

sandersn commented Feb 6, 2020

@uniqueiniquity Tagging you since github suggested you as a reviewer -- in case you care about this feature.

//// return p0;
//// };
//// /*1*/
//// bar = (p1) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you also test the function expression case?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

@sandersn
Copy link
Member Author

sandersn commented Feb 6, 2020

Build failed because of space lint.

@sandersn
Copy link
Member Author

sandersn commented Feb 6, 2020

Relevant: Key to planet formation found in space lint:

https://www.space.com/3315-key-planet-formation-space-lint.html

@sandersn sandersn merged commit 2cc5856 into master Feb 6, 2020
@sandersn sandersn deleted the jsdoc-template-for-property-decl branch February 6, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docCommentTemplate not returned for assigned method in class
4 participants